<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: NfcNdefParser Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="nfcinteractor80.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Nfc Interactor
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">Shows all information about NFC tags available through Qt Mobility APIs. Includes reusable convenience classes for handling additional tag types: Smart Poster, Image and vCard.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">NfcNdefParser Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="NfcNdefParser" -->
<p>Parse the contents of an NDEF message and return the contents of known records in human-readable textual form.  
 <a href="class_nfc_ndef_parser.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="nfcndefparser_8h_source.html">nfcndefparser.h</a>&gt;</code></p>

<p><a href="class_nfc_ndef_parser-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a921e03d815898443d25805db363f2943"></a><!-- doxytag: member="NfcNdefParser::nfcTagImage" ref="a921e03d815898443d25805db363f2943" args="(const int nfcImgId)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_ndef_parser.html#a921e03d815898443d25805db363f2943">nfcTagImage</a> (const int nfcImgId)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The tag contained an image. The parameter contains the image id that can be used to fetch it from the tag image cache class. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8a770b086f3ee14d3385d937ef25cf6"></a><!-- doxytag: member="NfcNdefParser::NfcNdefParser" ref="ab8a770b086f3ee14d3385d937ef25cf6" args="(QObject *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>NfcNdefParser</b> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_ndef_parser.html#ad16bce04a9961a5cd8e20c83406ed867">setImageCache</a> (<a class="el" href="class_tag_image_cache.html">TagImageCache</a> *tagImageCache)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_ndef_parser.html#a9baa416b8e93dabcc40cb638d6eedf76">parseNdefMessage</a> (const QNdefMessage &amp;message)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse the NDEF message and return its contents as human-readable text.  <a href="#a9baa416b8e93dabcc40cb638d6eedf76"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Parse the contents of an NDEF message and return the contents of known records in human-readable textual form. </p>
<p>The output contains information about all the records contained in the message. More details are reported for records of type: Uri, Text, Smart Poster, Image and Mime/vCard.</p>
<p>The <a class="el" href="class_nfc_target_analyzer.html" title="Analyze the NFC target and return the gathered information in human-readable textual form...">NfcTargetAnalyzer</a> has a similar task, but returns the general tag information in textual form. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9baa416b8e93dabcc40cb638d6eedf76"></a><!-- doxytag: member="NfcNdefParser::parseNdefMessage" ref="a9baa416b8e93dabcc40cb638d6eedf76" args="(const QNdefMessage &amp;message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString NfcNdefParser::parseNdefMessage </td>
          <td>(</td>
          <td class="paramtype">const QNdefMessage &amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse the NDEF message and return its contents as human-readable text. </p>
<p>Parse the NDEF <em>message</em> and return its contents in human-readable textual format. </p>

</div>
</div>
<a class="anchor" id="ad16bce04a9961a5cd8e20c83406ed867"></a><!-- doxytag: member="NfcNdefParser::setImageCache" ref="ad16bce04a9961a5cd8e20c83406ed867" args="(TagImageCache *tagImageCache)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NfcNdefParser::setImageCache </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_tag_image_cache.html">TagImageCache</a> *&#160;</td>
          <td class="paramname"><em>tagImageCache</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the image cache to use for storing images retrieved from tags. <em>tagImageCache</em> instance of the image cache. This class will not take ownership of the instance! </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="nfcndefparser_8h_source.html">nfcndefparser.h</a></li>
<li>nfcndefparser.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 12 2012 13:32:49 for Nfc Interactor by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
